﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="code.bean.*" %>
<%@ page import="code.util.ParamUtils" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%
	User user = (User)ParamUtils.getObjectAttribute(request, "user", null);
%>

<%
	String info = ParamUtils.getAttribute(request, "info1", "fail");
	String strInfo = "";
	String strUrl = "";
	if(info.equals("succ")){
		strInfo = "修改用户信息成功!请您点击此处跳转到登录页面登录!";
		request.getSession().removeAttribute("loginUser");
		strUrl = "login.jsp";
	}
	else{
		strInfo = "修改用户信息失败!请您点击此处跳转到修改页面重新修改!";
		strUrl = "servlet/ShowEdit?userid="+user.getId();
	}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>CodeSharer-修改用户信息处理</title>
    
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    
    <link rel="stylesheet" type="text/css" href="css/s.css">
	<link rel="stylesheet" type="text/css" href="css/s_head.css">
  </head>
  
  <body>
  <div id="head">
	<div class="hd">
		<div class="l tac wl2" style="width:230px;padding:3px;">
			<div style="padding-left:55px;"><a href="servlet/ShowIndex1"><img src="images/pcslogo.gif" width="106" height="36"/></a></div>
		</div>

		<div class="h3"><a href="reg.jsp" class="ce">注册</a> ┊ <a href="login.jsp" class="ce">登录</a> ┊ <a href="#" class="ce">帮助</a>
		</div>
		<div class="c"></div>
	</div>
</div>

<div style="padding:40px;"></div>
    <CENTER>
	<div class="Rcont">
	
		<TABLE border="0" width="600px" align="center">
			<TR>
				<TD align="center" style="font: 18px '黑体'; color:#D01E3B;">修改用户提示信息</TD>
				<div style="padding:20px;"></div>
			</TR>
		
			<TR>
				<TD align="center">
				<div style="padding:20px;"></div>
				<A href="<%=strUrl%>"><%=strInfo%></A>
				</TD>
			</TR>
		</TABLE>
		
	</div>
	
</CENTER>	
    <div style="padding:40px;"></div>	
	<div id="b">
	<div class="b1"><a href="#" class="c6" target="_blank">关于我们</a><span>┊</span><a href="/s/contact.html" class="c6" target="_blank">联系方式</a><span>┊</span><a href="/t/feedback.html" class="c6" target="_blank">意见反馈</a><span>┊</span><a href="/s/help.html" class="c6" target="_blank">帮助中心</a>　 &nbsp;<a class=c6 href=http://www.miibeian.gov.cn target=_blank>NENU</a> <img src="images/gs.gif" width="15" align="absmiddle" />&nbsp;<img src="images/jc.gif" width="17" align="absmiddle" />
	</div>
    </div>
	
	
  </body>
</html>
